/* src/renderer/layouts/ServoListComponent.css */

.servo-list-container {
    padding: 24px 12px;
    min-height: 100%;
}

.servo-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    cursor: pointer;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servo-card:hover {
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.12);
    border-color: #1890ff;
}

.servo-card p {
    margin-bottom: 8px;
    font-size: 15px;
}

.upload-btn {
    margin-top: 8px;
    width: 100%;
    background: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
    font-weight: 500;
    transition: background 0.2s;
}

.upload-btn:hover {
    background: #bae7ff;
    color: #096dd9;
}

.ant-empty-description {
    color: #bfbfbf;
    font-size: 16px;
}

@media (max-width: 900px) {
    .servo-list-container {
        padding: 8px 2px;
    }

    .servo-card {
        min-height: 140px;
        font-size: 14px;
    }
}

.ant-modal .ant-form-item {
    margin-bottom: 18px;
}

.ant-modal .ant-upload-list {
    margin-top: 6px;
}